]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
locatePointer: Mark the animation as required
authorAlessandro Bono <alessandro.bono369@gmail.com>
Fri, 20 Oct 2023 20:00:59 +0000 (22:00 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 6 Sep 2024 13:01:39 +0000 (13:01 +0000)
When the accessibility option "Reduce Animation" is turned on, the
accessibility option "Locate Pointer" stops to work. This is because
the animation is not marked as required. Mark it as such.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

js/ui/locatePointer.js

index 46449b3d4fce78dbe6ca77169a3a19344c7d0a26..b8a132ce820c9c0a2ee954d2603bd7d948b06cd9 100644 (file)
@@ -18,7 +18,7 @@ export class LocatePointer {
             return;
 
         if (enabled) {
-            this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location');
+            this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location', true);
             this._ripples.addTo(Main.uiGroup);
         } else {
             this._ripples.destroy();